﻿<Canvas x:Class="PokemonBattleOnline.PBO.Battle.LifeBarWithText"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:ui="clr-namespace:PokemonBattleOnline.PBO.Elements"
        DataContextChanged="LifeBar_DataContextChanged" Width="48">
    <Canvas.Resources>
        <ImageBrush x:Key="Green" TileMode="Tile" Viewport="0,0,1,4" ViewportUnits="Absolute" ImageSource="/PBO;component/images/UpperScreen/StateBar/HpGreen.png"/>
        <ImageBrush x:Key="Yellow" TileMode="Tile" Viewport="0,0,1,4" ViewportUnits="Absolute" ImageSource="/PBO;component/images/UpperScreen/StateBar/HpYellow.png"/>
        <ImageBrush x:Key="Red" TileMode="Tile" Viewport="0,0,1,4" ViewportUnits="Absolute" ImageSource="/PBO;component/images/UpperScreen/StateBar/HpRed.png"/>
    </Canvas.Resources>
    <Rectangle Name="Bar" Height="4" Stroke="{x:Null}" StrokeThickness="0"/>
    <Label Content="/" Style="{x:Static ui:Controls.STextBlock}" FontSize="10" FontWeight="Bold" Canvas.Left="19" Canvas.Top="6"/>
    <Label Name="Max" Style="{x:Static ui:Controls.STextBlock}" FontSize="12" FontWeight="Bold" Canvas.Left="27" Canvas.Top="5"/>
    <Label Name="Current" Style="{x:Static ui:Controls.STextBlock}" FontSize="12" FontWeight="Bold" Canvas.Right="30" Canvas.Top="5"/>
</Canvas>
